import request from '@/utils/request'

//库存利用率#权限标识：zhcloud:sjfx:list
export function getListWarehouseRate(data, params) {
    return request({
        url: '/storage/sjfx/utilization',
        method: 'post',
        data: data,
        params:params
    })
}

//库存利用率-中恒塱宝仓#权限标识：zhcloud:sjfx:list
export function getListTreasureWarehouseRate(data) {
    return request({
        url: '/storage/sjfx/zhonghenglongTreasureWarehouse',
        method: 'post',
        data: data
    })
}

//库存利用率#权限标识：zhcloud:sjfx:list
export function getWarehouseRateDetail(data, params) {
    return request({
        url: '/storage/sjfx/utilizationDetails',
        method: 'post',
        data: data,
        params:params
    })
}

//库存利用率-柱型图#权限标识：zhcloud:sjfx:list
export function getWarehouseRateChart(data, params) {
    return request({
        url: '/storage/sjfx/utilizationColumnChart',
        method: 'post',
        data: data,
        params:params
    })
}